#ifndef __VIDEO_CTRL_WIDGET_INCLUDE__
#define __VIDEO_CTRL_WIDGET_INCLUDE__
#include "ui_PTZCtrlWidget.h"
#include "IPC_Manager.h"

class VideoControlWidget :public QWidget {
	Q_OBJECT
public:
	VideoControlWidget(IPCManager* mgr, QWidget* parent = NULL);
	virtual ~VideoControlWidget();

private slots:
	void onMoveBtnClicked();
	void onClieckedPTZCtrl();
	void onPtzBtnPressed();
	void onPtzBtnReleased();
	void onIPCLight(bool checked);
	void onIPCRainWiper(bool checked);
	void onIPCHot(bool checked);
	void onIPCWind(bool checked);

	void onActionTest1();
	void onActionTest2();

private:
	Ui::FormPTZCtrl ui;
	IPCManager* ipc_mgr;
	QVector<QPushButton*>	PtzBtnVec;
};

#endif